export default [
  // #新增
  {
    url: '/mall/navigator/all',
    type: 'post',
    response: (req, res) => {
      return {
        'errCode': '0',
        'errMsg': 'OK',
        'data': '保存成功'
      }
    }
  },
  // #详情
  {
    url: '/mall/navigator/all',
    type: 'get',
    response: (req, res) => {
      return {
        'errCode': '0',
        'errMsg': 'OK',
        'data': {
          'logo': {
            'id': 20,
            'logo': '//dk.ddsj.net/home/2020/5/6/xjquxmbkhb-50887.jpg',
            'name': null,
            'link': null,
            'createDate': '2020-05-06T06:08:10.082+0000',
            'updateDate': '2020-05-06T06:08:10.082+0000',
            'status': 1
          },
          'others': [{
            'id': 21,
            'logo': null,
            'name': '22222',
            'link': '34',
            'createDate': '2020-05-06T06:08:10.082+0000',
            'updateDate': '2020-05-06T06:08:10.082+0000',
            'status': 1
          }, {
            'id': 22,
            'logo': null,
            'name': '121212323',
            'link': '131',
            'createDate': '2020-05-06T06:08:10.082+0000',
            'updateDate': '2020-05-06T06:08:10.082+0000',
            'status': 1
          }]
        }}
    }
  },

  // #详情
  {
    url: '/mall/banner',
    type: 'get',
    response: (req, res) => {
      return {
        'data': {
          'content': [
            {
              'activityType': 'PRODUCT',
              'buyLink': '示例',
              'createDate': '2020-04-26T02:22:10.521384',
              'description': '示例',
              'detailLink': '示例',
              'id': 0,
              'imageUrl': '示例',
              'price': '示例',
              'style': {
                'createDate': '2020-04-26T02:22:10.521384',
                'descriptionColor': '示例',
                'id': 0,
                'priceColor': '示例',
                'titleColor': '示例',
                'updateDate': '2020-04-26T02:22:10.521384'
              },
              'title': '示例',
              'updateDate': '2020-04-26T02:22:10.521384'
            }
          ],
          'number': 0,
          'numberOfElements': 0,
          'pageable': {
            'offset': 0,
            'pageNumber': 0,
            'pageSize': 0,
            'sort': {}
          },
          'size': 0,
          'sort': {},
          'totalElements': 0,
          'totalPages': 0
        },
        'errCode': 0,
        'errMsg': 'OK'
      }
    }
  }
]
